home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 3.4 KB | 106 lines | [TEXT/MPS ] |
- /*
- File: Scrap.idl
-
- Contains: Scrap Manager Interfaces.
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __SCRAP_IDL__
- #define __SCRAP_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __FILEMANAGER_IDL__
- #include <FileManager.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- /*
- _________________________________________________________________________________________________________
- • STUCTURES
- _________________________________________________________________________________________________________
- */
- typedef OpaquePtr ScrapRef;
-
- typedef UInt32 ScrapItemUserReference;
-
- typedef OSType ScrapItemType;
-
- #if FOR_SYSTEM8_PREEMPTIVE
- /*
- _________________________________________________________________________________________________________
- • SCRAP ITEM TYPE ATTRIBUTES
- _________________________________________________________________________________________________________
- */
- typedef OptionBits ScrapItemTypeAttributes;
-
- /*
- _________________________________________________________________________________________________________
- • FSOBJECTREF SCRAP ITEM TYPE
- _________________________________________________________________________________________________________
- */
-
-
- typedef SOMLargeStruct FSObjectScrapItemType; /* Derived from a struct of 112 bytes in size */
-
- /*
- _________________________________________________________________________________________________________
-
- • FSOBJECTREF PROMISE SCRAP ITEM TYPE
- _________________________________________________________________________________________________________
- */
-
-
- typedef SOMLargeStruct PromiseFSObjectScrapItemType; /* Derived from a struct of 112 bytes in size */
-
- /*
- _________________________________________________________________________________________________________
- • CREATING & DELETING SCRAPS
- _________________________________________________________________________________________________________
- */
- /*
- _________________________________________________________________________________________________________
- • ADDING SCRAP ITEMS
- _________________________________________________________________________________________________________
- */
- /*
- _________________________________________________________________________________________________________
- • GETTING SCRAP ITEM INFORMATION
- NOTE: ALL INDEXES ARE 1 BASED (1 .. N)
- _________________________________________________________________________________________________________
- */
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- /*
- _________________________________________________________________________________________________________
- • CLASSIC SCRAP MANAGER API
- _________________________________________________________________________________________________________
- */
- typedef SOMLargeStruct ScrapStuff; /* Derived from a struct of 16 bytes in size */
-
- typedef OpaquePtr PScrapStuff; /* Substituted OpaquePtr for “ScrapStuff*” */
-
- typedef OpaquePtr ScrapStuffPtr; /* Substituted OpaquePtr for “ScrapStuff*” */
-
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __SCRAP_IDL__ */
-
-